using System;
using System.Collections.Generic;
using System.Text;

using PickGold;
using PickGold.Database;

namespace PickGold.Entities.Table
{
    public class CBaseNewsInfo : CRadixNewsInfo
    {
        //
        public const string ENTITY_NAME = "tb_sys_news_info";
        public const string ENTITY_ALIAS = "news";
		//
		public const string ENTITY_KEY = "news_id";
		public const string ENTITY_SYMBOL = "news_name";
		//
        private SBaseNewsInfo _ = null;
        //
        public CBaseNewsInfo() : base(ENTITY_NAME, ENTITY_ALIAS) { }
        public CBaseNewsInfo(CDatabase db) : base(db, ENTITY_NAME, ENTITY_ALIAS) { }
        public CBaseNewsInfo(string alias) : base(ENTITY_NAME, alias) { }
        public CBaseNewsInfo(CDatabase db, string alias) : base(db, ENTITY_NAME, alias) { }
        //
        protected override void SetSchema()
        {
            this.SetSchema(new SBaseNewsInfo());
        }
        protected void SetSchema(SBaseNewsInfo s)
        {
            this._ = s;
            base.SetSchema(s);
        }
        //
    }
    //
    public class SBaseNewsInfo : SRadixNewsInfo
    {
    }
    //
}
//
